package mogiksaop.qliphoth;

import net.minecraft.util.text.TextComponentString;
import net.minecraftforge.event.world.BlockEvent.EntityPlaceEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

public class BlockPlaceHandler
{
    @SubscribeEvent
    public void onPlaceEvent(EntityPlaceEvent event) {
        event.getEntity().sendMessage(
                new TextComponentString("hello world! and you placed block : " + event.getPlacedBlock().getBlock().getLocalizedName()));
    }
}